package com.jt.entity;


import java.sql.Date;

public class Attendance {

    private Integer id;//出勤id
    private String info;  //出勤
    private Integer stuta;  //状态
    private Date enddata; //结束时间

    @Override
    public String toString() {
        return "Attendance{" +
                "id=" + id +
                ", info='" + info + '\'' +
                ", stuta=" + stuta +
                ", enddata=" + enddata +
                ", startdata=" + startdata +
                ", data=" + data +
                ", student=" + student +
                ", teacher=" + teacher +
                '}';
    }

    private Date startdata; //开始时间
    private Date data;        //出勤时间
    private Student student;  //学生表
    private Teacher teacher;  //老师表

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public Integer getStuta() {
        return stuta;
    }

    public void setStuta(Integer stuta) {
        this.stuta = stuta;
    }

    public Date getEnddata() {
        return enddata;
    }

    public void setEnddata(Date enddata) {
        this.enddata = enddata;
    }

    public Date getStartdata() {
        return startdata;
    }

    public void setStartdata(Date startdata) {
        this.startdata = startdata;
    }

    public Date getData() {
        return data;
    }

    public void setData(Date data) {
        this.data = data;
    }

    public Student getStudent() {
        return student;
    }

    public void setStudent(Student student) {
        this.student = student;
    }

    public Teacher getTeacher() {
        return teacher;
    }

    public void setTeacher(Teacher teacher) {
        this.teacher = teacher;
    }
}
